package Decorator_Pattern.Data;

// -*-coding:utf-8 -*-
//人员：刘陆鑫
//班级：19软3
//学号；2019110218
public class First extends Add{
    public First(Password password){
        super(password);
    }
    @Override
    public void word() {
        super.word();
        this.addFirst();
    }
    public void addFirst(){
        System.out.println("简单加密");
    }
}
